/*
 Navicat Premium Data Transfer

 Source Server         : local
 Source Server Type    : MySQL
 Source Server Version : 80034 (8.0.34)
 Source Host           : 127.0.0.1:3306
 Source Schema         : hy

 Target Server Type    : MySQL
 Target Server Version : 80034 (8.0.34)
 File Encoding         : 65001

 Date: 21/11/2024 17:20:21
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for panda
-- ----------------------------
DROP TABLE IF EXISTS `panda`;
CREATE TABLE `panda` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(80) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '名称',
  `nickname` varchar(80) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '外号',
  `unique_code` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '唯一编码',
  `sex` tinyint(1) DEFAULT '2' COMMENT '性别，0：男，1：女，2：未知',
  `height` decimal(6,2) DEFAULT NULL COMMENT '身高',
  `birthday` date DEFAULT NULL COMMENT '出生日期',
  `pic` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '头像地址',
  `level` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '等级',
  `motto` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '座右铭',
  `address` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所在地址',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `is_deleted` tinyint(1) DEFAULT '0' COMMENT '删除标识，0：正常，1：删除',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='熊猫表';

-- ----------------------------
-- Records of panda
-- ----------------------------
BEGIN;
INSERT INTO `panda` (`id`, `name`, `nickname`, `unique_code`, `sex`, `height`, `birthday`, `pic`, `level`, `motto`, `address`, `create_time`, `is_deleted`) VALUES (1, '竹子', '小竹', 'P888888', 0, 179.99, '2017-07-07', NULL, '高级', '十年磨一剑，五年磨半边！', '太阳省银河市地球村888号', '2024-11-21 13:52:14', 0);
INSERT INTO `panda` (`id`, `name`, `nickname`, `unique_code`, `sex`, `height`, `birthday`, `pic`, `level`, `motto`, `address`, `create_time`, `is_deleted`) VALUES (2, '花花', '阿花', 'P666666', 1, 155.00, '2016-06-07', NULL, '顶级', '我爱睡觉爱我！', '太阳省银河市地球村666号', '2024-11-21 13:52:14', 0);
INSERT INTO `panda` (`id`, `name`, `nickname`, `unique_code`, `sex`, `height`, `birthday`, `pic`, `level`, `motto`, `address`, `create_time`, `is_deleted`) VALUES (3, '甜甜', '肥肥', 'P999999', 0, 163.43, '2020-02-02', NULL, '特级', '今天的事能拖就拖，明天的事明天再说！', '太阳省银河市地球村999号', '2024-11-21 13:52:14', 0);
INSERT INTO `panda` (`id`, `name`, `nickname`, `unique_code`, `sex`, `height`, `birthday`, `pic`, `level`, `motto`, `address`, `create_time`, `is_deleted`) VALUES (4, '子竹', '小子', 'P555555', 1, 188.88, '2021-08-08', NULL, '初级', '你小子！', '太阳省银河市地球村555号', '2024-11-21 13:52:14', 0);
INSERT INTO `panda` (`id`, `name`, `nickname`, `unique_code`, `sex`, `height`, `birthday`, `pic`, `level`, `motto`, `address`, `create_time`, `is_deleted`) VALUES (5, '竹笋', '阿竹', 'P777777', 0, 180.01, '2019-11-11', NULL, '普通', '努力不一定有结果，但不努力一定很舒服', '太阳省银河市地球村777号', '2024-11-21 14:58:40', 0);
INSERT INTO `panda` (`id`, `name`, `nickname`, `unique_code`, `sex`, `height`, `birthday`, `pic`, `level`, `motto`, `address`, `create_time`, `is_deleted`) VALUES (6, '竹子', '小竹', 'P888888', 0, 179.99, '2018-11-11', NULL, '高级', '十年磨一剑，五年磨半边！', '太阳省银河市地球村888号', '2024-11-21 14:58:40', 0);
INSERT INTO `panda` (`id`, `name`, `nickname`, `unique_code`, `sex`, `height`, `birthday`, `pic`, `level`, `motto`, `address`, `create_time`, `is_deleted`) VALUES (7, 'X先生', 'X', 'P111111', 0, 202.01, '2019-12-11', NULL, '高级', 'XXX', '太阳省银河市地球村XXX号', '2024-11-21 14:58:40', 0);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
